﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class SetQuestionQuestion : MonoBehaviour {
    public Image m_BackGround;
    public Text m_NumberText, m_StemText;
    public int m_Type;
    public string m_PicPath;
    public bool m_IsSetedQuestion;
	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
    public void OnClick() {
        SetQuestionMgr.s_Instance.OnSetQuestionClick(this);
    }
    public void SetState(bool isOn) {
        if (isOn) {
            m_BackGround.color = Color.gray;
        } else {
            m_BackGround.color = Color.white;
        }
    }
}
